﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMR_System
{
    public class Patient
    {
        public int ID { get; set; }

        public string FirstName { get; set; }
     
        public string LastName { get; set; }

        // Example: 1307 Coconino Rd #108, Ames, IA 50014
        public string Address { get; set; }

        public string PhoneNumber { get; set; }

        public string SSN { get; set; }

        public DateTime DateOfBirth { get; set; }

        public InsuranceInformation Insurance { get; set; }

        public EmergencyContact EmergencyContact { get; set; }

        public EmployerInformation Employer { get; set; }

        public Patient(string firstName, string lastName, string address, string phoneNumber, string ssn, DateTime dob,
            InsuranceInformation insuranceInfo, EmergencyContact emergencyContact, EmployerInformation employerInfo)
        {
            FirstName = firstName;
            LastName = lastName;
            Address = address;
            PhoneNumber = phoneNumber;
            SSN = ssn;
            DateOfBirth = dob;
            Insurance = insuranceInfo;
            EmergencyContact = emergencyContact;
            Employer = employerInfo;
        }
    }
}
